<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<pre>
s = input()
number1=0
number2=0
for c in s:
    if c.isdigit():
        number1 += 1
    elif c.isalpha():
        number2 += 1
    else:
        pass
print('数字个数：',number1)
print('字母个数', number2)
    </pre>
</body>
</html>